<?php 
	$age=@$_GET['c1'];
	$lplists[1] = "Location:http://www.never-blue.com/fm_mo_profession/lp1.php?".$_SERVER['QUERY_STRING'];
	$lplists[2] = "Location:http://www.never-blue.com/fm_mo_profession/lp2.php?".$_SERVER['QUERY_STRING'];
	$myFile = "count.txt";
	$fh = @fopen($myFile, 'r');
	$lpNumber = @fread($fh, 5);
	@fclose($fh);

	if ($lpNumber >= count($lplists)) {
		$lpNumber = 1;
	} else {
		$lpNumber = $lpNumber + 1;
	}
	
	$fh = fopen($myFile, 'w') or die("can't open file");
	$stringData = $lpNumber . "\n";
	fwrite($fh, $stringData);
	fclose($fh);
	
	header($lplists[$lpNumber]);
?>